package com.yxw.yx_hotel.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author liuxin
 * @date 2024.01.17
 */
@Data
@ApiModel(value="ReportRoomVo", description="宿舍报表统计")
public class ReportRoomVo implements Serializable {

    @ApiModelProperty(value = "区域")
    private String regionName ;

    @ApiModelProperty(value = "房号")
    private String roomName ;

    @ApiModelProperty(value = "床位数量")
    private Integer bedCnt ;

    @ApiModelProperty(value = "在住床位数量")
    private Integer inBedCnt ;

    @ApiModelProperty(value = "剩余床位数")
    private Integer remainBedCnt ;

    @ApiModelProperty(value = "是否维修房")
    private String repairTypeName ;

    @ApiModelProperty(value = "报修次数")
    private Integer repairCnt ;

    @ApiModelProperty(value = "退租日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date rendBackTime ;

    @ApiModelProperty(value = "最近一次维修日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastRepairTime ;

        @ApiModelProperty(value = "维修费用")
    private Double money ;

    @ApiModelProperty(value = "物业费")
    private Double wyFee ;

    @ApiModelProperty(value = "租金")
    private Double rentFee ;

    @ApiModelProperty(value = "押金")
    private Double depositFee ;

    @ApiModelProperty(value = "备注")
    private String  note ;

    @ApiModelProperty(value = "资产数量")
    private Integer  propertyCnt ;
}
